package com.bdqn.service;

import com.bdqn.pojo.SysDept;
import com.github.pagehelper.PageInfo;

import java.util.List;

//科室
public interface SysDeptService {
    List<SysDept> getSysDept();//查询所有科室
    SysDept getSysDeptID(int deptId);//根据id查科室
    PageInfo<SysDept> getSysDeptFY(int pageNum,int pageSize,int deptId,int subsectionType,int schedulingType,String schedulingDay);//分页查询科室

    PageInfo<SysDept> getPage(int pageNum, int pageSize, String deptName, int status);

    int addDept(String deptName, String deptNumber, String deptLeader, String leaderPhone, int orderNum, int status, String userName);

    int setDept(String deptName, String deptNumber, String deptLeader, String leaderPhone, int orderNum, int status, String userName, String deptId);

    int delDept(String deptId);
}
